/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.wx.entity;

import org.hibernate.validator.constraints.Length;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

/**
 * wx_activity_themeEntity
 * @author wangjianxin
 * @version 2018-09-28
 */
@Table(name="wx_activity_theme", alias="a", columns={
		@Column(name="id", attrName="id", label="id", isPK=true),
		@Column(name="theme", attrName="theme", label="theme"),
		@Column(includeEntity=DataEntity.class),
		@Column(name="activity_pic", attrName="activityPic", label="活动海报"),
	}, orderBy="a.update_date DESC"
)
public class WxActivityTheme extends DataEntity<WxActivityTheme> {
	
	private static final long serialVersionUID = 1L;
	private String theme;		// theme
	private String activityPic;		// 活动海报
	
	public WxActivityTheme() {
		this(null);
	}

	public WxActivityTheme(String id){
		super(id);
	}
	
	@Length(min=0, max=200, message="theme长度不能超过 200 个字符")
	public String getTheme() {
		return theme;
	}

	public void setTheme(String theme) {
		this.theme = theme;
	}
	
	@Length(min=0, max=200, message="活动海报长度不能超过 200 个字符")
	public String getActivityPic() {
		return activityPic;
	}

	public void setActivityPic(String activityPic) {
		this.activityPic = activityPic;
	}
	
}